c4ec1ebe7f813bd15962976ff7beb5facc19902a,app/src/main/java/lu/fisch/canze/devices/ELM327.java,ELM327,initCommandExpectOk,#String#boolean#boolean#,372

Before Change


            if (response.toUpperCase().contains("OK")) return true;
        }

        if (timeoutLogLevel >= 2 || (timeoutLogLevel >= 1 && !command.startsWith("atma") && command.startsWith("at"))) {
            MainActivity.toast("Err " + command + " [" + response.replace("\r", "<cr>").replace(" ", "<sp>") + "]");
        }

        MainActivity.debug("ELM327: initCommandExpectOk > Response was > " + response);

After Change


        /* if (timeoutLogLevel >= 2 || (timeoutLogLevel >= 1 && !command.startsWith("atma") && command.startsWith("at"))) {
            MainActivity.toast("Err " + command + " [" + response.replace("\r", "<cr>").replace(" ", "<sp>") + "]");
        } */
        MainActivity.toast(MainActivity.TOAST_ELM, "Error [" + command + "] [" + response.replace("\r", "<cr>").replace(" ", "<sp>") + "]");
        MainActivity.debug("ELM327: initCommandExpectOk > Response was > " + response);

        return false;